package assist.domain.model;

import javax.jdo.annotations.NotPersistent;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

@PersistenceCapable(detachable = "true")
public abstract class Shot extends Event
{   
    @NotPersistent
    private static final long serialVersionUID = 1L;
    @NotPersistent
    private Player shooter;    
    @Persistent
    private String type; 

    /**
     * @param shooter the shooter to set
     */
    public void setShooter(final Player shooter)
    {
        this.shooter = shooter;
    }
    /**
     * @return the shooter
     */
    public Player getShooter()
    {
        return this.shooter;
    }
    /**
     * @param type the shot Type to set
     */
    public void setType(String type)
    {
        this.type = type;
    }
    /**
     * @return the type of shot
     */
    public String getType()
    {
        return type;
    }
        
}
